package com.zrj.gulimall.product.feign;

import com.zrj.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author zhaorujie
 * @version 1.0
 * @Description
 * @date 2021/1/30 15:16
 */
@FeignClient("gulimall-ware")
public interface WareFeginService {

    @PostMapping(value = "/ware/waresku/hasStock")
    R getSkuHasStock(@RequestBody List<Long> skuIds);
}
